<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var arr = [1,2,'34']
        console.log(arr.push(12,99));
        console.log(arr.unshift('53431',31));
        console.log(arr.pop());
        console.log(arr.shift());
        console.log(arr);

    </script>
</body>
</html>